#ifndef _path_h
#define _path_h

#include "motor.h"
typedef struct path
{
		float x_coor;
		float y_coor;
		float distance;
		struct path *next;
}path_t;

path_t* creat_path();
path_t* creat_tsppath();
void delete_head_next(path_t *head);
void update_distance(path_t *head, car_t *motor);
void insert_sort(path_t *head);

#endif